﻿<%@ Page Title="" Language="C#" MasterPageFile="~/POS/POS.Master" AutoEventWireup="true" CodeBehind="UpdateSpu.aspx.cs" Inherits="Me.Amon.OMS.UpdateSpu" %>

<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <asp:ScriptManager ID="ScriptManager1" runat="server">
    </asp:ScriptManager>
    <asp:UpdatePanel ID="UpdatePanel1" runat="server">
        <ContentTemplate>
            <table width="100%" border="0" cellpadding="0" cellspacing="0">
                <tr>
                    <td style="width: 200px" valign="top">
                        <asp:TreeView ID="TvCats" runat="server" ImageSet="Arrows" Width="200px" OnSelectedNodeChanged="TvCats_SelectedNodeChanged">
                            <HoverNodeStyle Font-Underline="True" ForeColor="#5555DD" />
                            <NodeStyle Font-Names="Tahoma" Font-Size="10pt" ForeColor="Black" HorizontalPadding="5px" NodeSpacing="0px" VerticalPadding="0px" />
                            <ParentNodeStyle Font-Bold="False" />
                            <SelectedNodeStyle Font-Underline="True" ForeColor="#5555DD" HorizontalPadding="0px" VerticalPadding="0px" />
                        </asp:TreeView>
                    </td>
                    <td align="center" valign="top">
                        <table border="0" cellpadding="4" cellspacing="0" class="dialog">
                            <tr>
                                <th align="center">
                                    商品代码
                                </th>
                                <td align="left" colspan="3">
                                    <asp:TextBox ID="TbCode" runat="server"></asp:TextBox><asp:HiddenField ID="HdId" runat="server" />
                                    <asp:HiddenField ID="HdCat" runat="server" />
                                </td>
                            </tr>
                            <tr>
                                <th>
                                    商品名称
                                </th>
                                <td align="left">
                                    <asp:TextBox ID="TbName" runat="server"></asp:TextBox>
                                </td>
                                <th align="left">
                                    计量单位
                                </th>
                                <td align="left">
                                    <asp:TextBox ID="TbUom" runat="server"></asp:TextBox>
                                </td>
                            </tr>
                            <tr>
                                <th>
                                    汉语拼音
                                </th>
                                <td align="left">
                                    <asp:TextBox ID="TbHypy" runat="server"></asp:TextBox>
                                </td>
                                <th align="left">
                                    库存上限
                                </th>
                                <td align="left">
                                    <asp:TextBox ID="TbMaxInv" runat="server" TextMode="Number">0</asp:TextBox>
                                </td>
                            </tr>
                            <tr>
                                <th>
                                    型号
                                </th>
                                <td align="left">
                                    <asp:TextBox ID="TbMode" runat="server"></asp:TextBox>
                                </td>
                                <th align="left">
                                    库存下限
                                </th>
                                <td align="left">
                                    <asp:TextBox ID="TbMinInv" runat="server" TextMode="Number">0</asp:TextBox>
                                </td>
                            </tr>
                            <tr>
                                <th>
                                    规格
                                </th>
                                <td align="left">
                                    <asp:TextBox ID="TbSpec" runat="server"></asp:TextBox>
                                </td>
                                <th align="left">
                                    保质期限
                                </th>
                                <td align="left">
                                    <asp:TextBox ID="TbVdY" runat="server" TextMode="Number" Columns="4" Width="40px">0</asp:TextBox>年
                                    <asp:TextBox ID="TbVdM" runat="server" TextMode="Number" Columns="4" Width="40px">0</asp:TextBox>月
                                    <asp:TextBox ID="TbVdd" runat="server" TextMode="Number" Columns="4" Width="40px">0</asp:TextBox>日
                                </td>
                            </tr>
                            <tr>
                                <th>
                                    条码
                                </th>
                                <td align="left" colspan="3">
                                    <asp:TextBox ID="TbBars" runat="server" TextMode="MultiLine" Width="380px"></asp:TextBox>
                                </td>
                            </tr>
                            <tr>
                                <th>
                                    促销
                                </th>
                                <td align="left" colspan="3">
                                    <asp:CheckBox ID="CheckBox1" runat="server" Text="会员商品" /><asp:CheckBox ID="CheckBox2" runat="server" Text="积分商品" />
                                </td>
                            </tr>
                            <tr>
                                <th>
                                    使用状态
                                </th>
                                <td align="left" colspan="3">
                                    <asp:CheckBox ID="CheckBox3" runat="server" Text="禁用" />
                                </td>
                            </tr>
                            <tr>
                                <td colspan="4" align="left">
                                    <asp:Label ID="LlErr" runat="server" CssClass="failureNotification"></asp:Label>
                                </td>
                            </tr>
                            <tr>
                                <td align="right" colspan="4">
                                    <asp:Button ID="BtUpdateSpu" runat="server" Text="保存" OnClick="BtUpdateSpu_Click" />
                                    <asp:Button ID="BnCancelSpu" runat="server" Text="取消" OnClick="BtCancelSpu_Click" />
                                </td>
                            </tr>
                        </table>
                    </td>
                </tr>
            </table>
        </ContentTemplate>
    </asp:UpdatePanel>
</asp:Content>
